import request from '@/utils/request'

// 首页退耕、地块和承包方统计
export function bigData(deptCode) {
  return request({
    url: '/statistics/bigData?deptCode='+deptCode,
    method: 'get',
  })
}

// 首页退耕、地块和承包方统计
export function indexDept(deptCode) {
  return request({
    url: '/statis/dept/' + deptCode,
    method: 'get',
  })
}

// 首页预算审核
export function budgetListForHome(query) {
  return request({
    url: '/budget/budget/listForHome',
    method: 'get',
    params: query
  })
}

// 首页预算审核
export function contractListForHome(query) {
  return request({
    url: '/contract/contract/listForHome',
    method: 'get',
    params: query
  })
}

// 首页发放批次审核
export function distributionListForHome(query) {
  return request({
    url: '/distribution/distribution/listForHome',
    method: 'get',
    params: query
  })
}

// 合同签订情况统计
export function indexContract(query) {
  return request({
    url: '/statis/dept/contract',
    method: 'get',
    params: query
  })
}

// 资金发放情况统计
export function indexPayment(query) {
  return request({
    url: '/statis/dept/payment',
    method: 'get',
    params: query
  })
}

// 资金预算统计
export function indexBudget(query) {
  return request({
    url: '/statis/dept/budget',
    method: 'get',
    params: query
  })
}


// 预算明细报表
export function mxlistReport(query) {
  return request({
    url: '/statis/budget/mxlist',
    method: 'get',
    params: query
  })
}

// 预算明细报表-导出
export function mxlistExport(query) {
  return request({
    url: '/statis/budget/mxlist/export',
    method: 'get',
    params: query
  })
}

// 资金台账
export function paymentItemList(query) {
  return request({
    url: '/distribution/paymentItem/list',
    method: 'get',
    params: query
  })
}

// 资金台账-导出
export function paymentItemListExport(query) {
  return request({
    url: '/distribution/paymentItem/export',
    method: 'get',
    params: query
  })
}

// 分包合同报表
export function contractlist(query) {
  return request({
    url: '/contract/contract/list',
    method: 'get',
    params: query
  })
}

// 分包合同报表-导出
export function contractExport(query) {
  return request({
    url: '/contract/contract/export',
    method: 'get',
    params: query
  })
}

// 地块报表
export function dklist(query) {
  return request({
    url: '/ownership/dk/list',
    method: 'get',
    params: query
  })
}

// 地块报表-导出
export function dkExport(query) {
  return request({
    url: '/ownership/dk/export',
    method: 'get',
    params: query
  })
}

// 获取通知公告列表
export function noticeList(query) {
  return request({
    url: '/system/notice/list',
    method: 'get',
    params: query
  })
}

export function listDayReport(query) {
  return request({
    url: '/order/report/dayReportlist',
    method: 'get',
    params: query
  })
}

export function listMonthReport(query) {
  return request({
    url: '/order/report/yearMouthReportlist',
    method: 'get',
    params: query
  })
}

export function homeReport(query) {
  return request({
    url: '/order/report/home',
    method: 'get',
    params: query
  })
}

// 导出消息推送管理
export function exportPush(query) {
  return request({
    url: '/message/push/export',
    method: 'get',
    params: query
  })
}
